package net.maku.events.convert;

import net.maku.events.entity.UserLikesEntity;
import net.maku.events.vo.UserLikesVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户点赞记录
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserLikesConvert {
    UserLikesConvert INSTANCE = Mappers.getMapper(UserLikesConvert.class);

    UserLikesEntity convert(UserLikesVO vo);

    UserLikesVO convert(UserLikesEntity entity);

    List<UserLikesVO> convertList(List<UserLikesEntity> list);

}